log/slog.commonHandler.json (field)
19 uses
log/slog (current package)
handler.go#L102: ch: &commonHandler{json: false},
handler.go#L192: json bool // true => output JSON; false => output text
handler.go#L209: json: h.json,
handler.go#L243: if h2.json && pfa[len(pfa)-1] == '{' {
handler.go#L273: if h.json {
handler.go#L332: if s.h.json && pfa[len(pfa)-1] == '{' {
handler.go#L361: if s.h.json {
handler.go#L373: if h.json {
handler.go#L434: if s.h.json {
handler.go#L450: if s.h.json {
handler.go#L498: if s.h.json {
handler.go#L544: if s.h.json {
handler.go#L556: case s.h.json:
handler.go#L571: if s.h.json {
handler.go#L604: if s.h.json {
handler.go#L615: if s.h.json {
json_handler.go#L36: json: true,
text_handler.go#L34: json: false,
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)